package FrameWork.EventBus;

public class AsyncResult<T> {

    private T value;
    private boolean success;

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setValue(T t){
        this.value = t;
    }

    public T getValue(){
        return value;
    }

}
